package com.experiment.aicommunityback.service;


import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.net.URISyntaxException;

public interface HdfsSrevice {
    FileSystem getFileSystem()throws IOException, InterruptedException;
    boolean uploadFile(MultipartFile file, Path hdfsPath);
    public boolean deleteFile(Path path);
    byte[] getImageOfByte(Path hdfsPath);

}
